package ooday04;

public class Fish extends Animal implements Swim {
    public Fish(String name, int age, String color) {
        super(name, age, color);
    }
    void eat() {
        System.out.println(name+"吃饲料");
    }
   public void swim(){
        System.out.println(name+"游泳老快了");
    }
}
